#include <stdio.h>

int add(int a,int b)
{
    return a+b;
}

int sub(int a,int b)
{
    return a-b;
}

int mul(int a,int b)
{
    return a*b;
}

int div(int a,int b)
{
    return a/b;
}


int main(int argc, char const *argv[])
{
    int (*pf[4])(int x,int y) ;
    pf[0] = add;
    pf[1] = sub;
    pf[2] = mul;
    pf[3] = div;

    int (*p)(int , int);
    int ret = 0 ;
    for(int i=0;i<4;i++)
    {
        ret = (pf[i])(10,20);
        printf("ret = %d\n",ret);
    }
 

    return 0;
}
